#pragma once
#include <string>
#include <map>
#include "texture.h"

namespace krryn{
namespace view{
	class texture_catalog{
	public:
		texture *get_texture(const std::string &a_Filename);
	protected:
		virtual texture *load_texture(const std::string &a_Filename) = 0;
	private:
		std::map<std::string, texture*> m_Textures;
	};
}
}